<%@taglib prefix="in" uri="/WEB-INF/TagDescriptor.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Opportunity Review</title>
<in:pHeader incTiny="yes" />
<link rel="stylesheet" type="text/css" href="includes/css/style.css" />
<script type="text/javascript" src="includes/js/review.js"></script>
</head>

<body>
	<div id="winAddNotes" class="easyui-window" title="Additional Notes"
		style="width: 600px; height: 400px"
		data-options="iconCls:'icon-save',modal:true,closed:true">
		<div id="addNotesContent" style="margin-left: 5px; margin-right: 5px;"></div>
	</div>
	<in:form id="ff" style="height: 600px;"
		title="Review Opportunity - Strategic">
		<input type="hidden" name="userId" id="userId" value="${userId}" />
		<input type="hidden" name="opportunityId" id="opportunityId"
			value="${opportunityId}" />
		<input type="hidden" name="prjObjId" id="prjObjId" value="${prjObjId}" />
		<input type="hidden" name="assignmentId" id="assignmentId"
			value="${assignmentId}" />
		<div class="easyui-accordion">
			<div title="Details" style="overflow: auto; padding: 5px;">
				<table>
					<in:attr title="Strategic Importance" id="strategicImportance"
						type="textarea" style="height: 120px; width: 400px"></in:attr>
					<in:attr title="Customer/Consultant" id="customerConsultant" type="textarea"
						style="height: 120px; width: 400px"></in:attr>
					<in:attr title="Alignment" id="alignment" type="textarea"
						style="height: 120px; width: 400px"></in:attr>
					<in:attr title="Additional Notes" id="addNotes" type="addNotes"
						style="height: 120px; width: 400px"></in:attr>
					<input type="hidden" id="hiddenAddNotes" />
				</table>
			</div>
			<div title="Ratings" style="overflow: auto; padding: 5px;">
				<table>
					<in:attr title="Location" id="locationRating" type="p6code"
						code="Location" style="width:200px;" required="yes"></in:attr>
					<in:attr title="Builds Track Record" id="buildTrack" type="p6code"
						code="Builds Track Record" style="width:200px;" required="yes"></in:attr>
					<in:attr title="Improves Market Penetration" id="marketPenetration"
						type="p6code" code="Improves Market Penetration"
						style="width:200px;" required="yes"></in:attr>
					<in:attr title="Is Compulsive Win?" id="isCompulsiveWin"
						type="p6code" code="Is Compulsive Win?" style="width:200px;"
						required="yes"></in:attr>
					<in:attr title="Maintains/Improves Win Ratio" id="winRatio"
						type="p6code" code="Maintains/Improves Win Ratio"
						style="width:200px;" required="yes"></in:attr>
					<in:attr title="Type of Work" id="workType" type="p6code"
						code="Type of Work" style="width:200px;" required="yes"></in:attr>
					<in:attr title="Customer" id="customerRating" type="p6code"
						code="Customer" style="width:200px;" required="yes"></in:attr>
					<in:attr title="Consultant Rating" id="consultantRating"
						type="p6code" code="Consultant Rating" style="width:200px;"
						required="yes"></in:attr>
					<in:attr title="Winnability" id="Winnability" type="p6code"
						code="Winnability" style="width:200px;" required="yes"></in:attr>
					<in:attr title="Risk Rating" id="riskRating" type="p6code"
						code="Risk Rating" style="width:200px;" required="yes"></in:attr>

				</table>
			</div>
		</div>
	</in:form>
	<div style="text-align: right; padding: 15px">
		<in:btn id="saveBtn" title="Save" onclick="saveReviewData();" />
		&nbsp;&nbsp;
		<in:btn id="ApproveBtn" title="Approve" onclick="approveReview();" />
	</div>
</body>
</html>
